package cn.edu.neu.lab603.cloudeval.experiment

import cn.edu.neu.lab603.cloudeval.strategy.{EarlyStoppingReallocationStrategy, NaiveReallocationStrategy}
import org.scalatest.{FunSuite, Matchers}

/** 普通的实验。
  *
  * Created by yfwz100 on 2016/11/11.
  */
class NaiveExperiments extends FunSuite with Matchers {

  test("Early Stopping") {
    ExperimentSetup
      .setMigrationStrategy(_ => new EarlyStoppingReallocationStrategy(60))
      .run()
  }

  ignore("Naive") {
    ExperimentSetup
      .setMigrationStrategy(_ => new NaiveReallocationStrategy)
      .run()
  }

}
